package com.ctg.platform.core.security.entity;

import java.io.Serializable;
import java.util.Set;

public class Role implements Serializable{
	private static final long serialVersionUID = -5511117410301299158L;

	private String id;
	
	private String name;
	
	private String description;
	
	private String disabled;
	
	private Set<Resource> resources;
	
	/**
	 * The default constructor
	 */
	public Role() {
		
	}

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @return the resources
	 */
	public Set<Resource> getResources() {
		return resources;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @param resources the resources to set
	 */
	public void setResources(Set<Resource> resources) {
		this.resources = resources;
	}

	/**
	 * @return ��ȡdisabled
	 */
	public String getDisabled() {
		return disabled;
	}

	/**
	 * @param disabled ����disabled
	 */
	public void setDisabled(String disabled) {
		this.disabled = disabled;
	}

}
